package com.java2104.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

//出勤情况实体类
public class RCAttendance {
    private int id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private java.util.Date checkDate;//点名时间 java.sql.Timestamp

    private RCClass rcClass;//点名班级
    private int attendancePersonNum;//出勤人数（实到人数）
    private int absencePersonNum;//缺勤人数
    private float attendanceRate;//出勤率
    private RCUser rcUser;//点名人
    private String remark;//备注信息

    public RCAttendance() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public RCClass getRcClass() {
        return rcClass;
    }

    public void setRcClass(RCClass rcClass) {
        this.rcClass = rcClass;
    }

    public int getAttendancePersonNum() {
        return attendancePersonNum;
    }

    public void setAttendancePersonNum(int attendancePersonNum) {
        this.attendancePersonNum = attendancePersonNum;
    }

    public int getAbsencePersonNum() {
        return absencePersonNum;
    }

    public void setAbsencePersonNum(int absencePersonNum) {
        this.absencePersonNum = absencePersonNum;
    }

    public float getAttendanceRate() {
        return attendanceRate;
    }

    public void setAttendanceRate(float attendanceRate) {
        this.attendanceRate = attendanceRate;
    }

    public RCUser getRcUser() {
        return rcUser;
    }

    public void setRcUser(RCUser rcUser) {
        this.rcUser = rcUser;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
